package ynu.sxp.demoapp.service;

import ynu.sxp.demoapp.entity.DeliveryAddress;

import java.util.List;
import java.util.UUID;

public interface DeliveryAddressService {
    DeliveryAddress createDeliveryAddress(DeliveryAddress deliveryAddress);
    DeliveryAddress getDeliveryAddressById(UUID daId);
    List<DeliveryAddress> getDeliveryAddressesByUserId(String userId);
    void updateDeliveryAddress(DeliveryAddress deliveryAddress);
    void deleteDeliveryAddress(UUID daId);
}